package com.smit.icastplus.ssdp;

/**
 * SSDP消息类
 */
final class SSDPMsg {

    private SSDPMsg() {
    }

    /**
     * @return search消息
     */
    public static String getSearchMessage() {

        return SSDPConstants.SL_MSEARCH + SSDPConstants.NEWLINE + "Host:" + SSDPConstants.SSDP_ADDRESS + ":"
                + SSDPConstants.SSDP_PORT + SSDPConstants.NEWLINE + SSDPConstants.MAN + SSDPConstants.NEWLINE + "MX:"
                + SSDPConstants.MX + SSDPConstants.NEWLINE + SSDPConstants.ST_SERVER_CHECK + SSDPConstants.NEWLINE
                + SSDPConstants.NEWLINE;
    }
}
